package com.jiukuaidao.zhulin.entity;

import java.util.List;

/**
 * Author : BinarySatan
 * Date : 2016/6/7
 * Description : 商品详情
 */
public class ApiGoosDetailInfo {

    public CommentsBean comments;

    public GoodsBean goods;

    public static class CommentsBean {
        public String avgGrade; //评论总评分

        public CommentBean comment;
        public int count;  //总评论数量

        public static class CommentBean {
            public String goodsId; //商品id
            public String head;
            public String mobile; //评论人电话
            public String name; //评论人姓名
            public String orderId;
            public String userComment; //评论
            public String userGrade; //星星等级
        }
    }

    public static class GoodsBean {
        public String barcode; //二维码
        public String brandId;
        public long createTime;
        public String desc;
        public String id;
        public long modifyTime;
        public String name; //商品名
        public String title; //商品名后面的 title
        public String subtitle; //促销语
        public int notForSale;
        public String number; // gn号
        public String retailPrice;
        private String wholesalePrice;
        public int status;
        public int type;

        public List<AttributesBean> attributes;
        public List<String> uri;


        public static class AttributesBean {
            public String name; // 香型
            public String value;  // 清香
        }
    }
}
